<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>手机端首页</title>
    <link rel="stylesheet" href="lib/mui/css/mui.min.css">
    <link rel="stylesheet" href="lib/fa/css/font-awesome.css">
    <link rel="stylesheet" href="css/common.css">
    <link rel="stylesheet" href="css/category.css">
</head>
<body>
    <div class="lt-container">
        <!-- 头部区域 -->
        <div class="lt-header">
            <a href="index.html" class="home fa fa-home"></a>
            <h3>分类页</h3>
            <a href="search.html" class="search fa fa-search"></a>
        </div>
        <!-- 主体区域 -->
        <div class="lt-main">
            <div class="main-left">
                    <div class="mui-scroll-wrapper">
                        <div class="mui-scroll">
                            <!--这里放置真实显示的DOM内容-->
                            <ul class="left-category">
                                <li class="current">
                                    <a href="#">
                                        运动馆
                                    </a>
                                </li>
                                <li>
                                    <a href="#">
                                        运动馆
                                    </a>
                                </li>
                                <li>
                                    <a href="#">
                                        运动馆
                                    </a>
                                </li>
                                
                            </ul>
                        </div>
                    </div>
            </div>
            <div class="main-right">
                    <div class="mui-scroll-wrapper">
                        <div class="mui-scroll">
                            <!--这里放置真实显示的DOM内容-->
                            <ul class="right-category">
                                <li>
                                    <a href="#">
                                        <img src="images/brand1.png" alt="">
                                        <p>耐克</p>
                                    </a>
                                </li>
                                <li>
                                    <a href="#">
                                        <img src="images/brand1.png" alt="">
                                        <p>耐克</p>
                                    </a>
                                </li>
                            </ul>
                        </div>
                    </div>
            </div>
        </div>
        <!-- 底部区域 -->
        <div class="lt-footer">
            <ul>
                <li class="current">
                    <a href="index.html">
                        <i class="fa fa-home"></i>
                        <p>首页</p>
                    </a>
                </li>
                <li>
                    <a href="category.html">
                        <i class="fa fa-bars"></i>
                        <p>分类页</p>
                    </a>
                </li>
                <li>
                    <a href="cart.html">
                        <i class="fa fa-shopping-cart"></i>
                        <p>购物车</p>
                    </a>
                </li>
                <li>
                    <a href="user.html">
                        <i class="fa fa-user"></i>
                        <p>用户中心</p>
                    </a>
                </li>
            </ul>
        </div>
    </div>


    <script src="lib/zepto/zepto.min.js"></script>
    <script src="lib/mui/js/mui.js"></script>
    <script src="lib/artTemplate/template-web.js"></script>
    <script src="js/common.js"></script>
    <script src="js/category.js"></script>
    <script type="text/html" id="first-category">
        {{each rows v i}}
        <li class="{{i==0?'current':''}}">
            <a href="#" data-id={{v.id}}>
                {{v.categoryName}}
            </a>
        </li>
        {{/each}}
    </script>
    <script type="text/html" id="second-category">
        {{each rows v i}}
        <li>
            <a href="#">
                <img src="{{v.brandLogo}}" alt="">
                <p>{{v.brandName}}</p>
            </a>
        </li>
        {{/each}}
    </script>
</body>
</html>